QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Synthesizer Connections for MIDI Devices

The synthesizer connection structure describes how a MIDI device is connected to the computer. It is defined by the SynthesizerConnections data type.

struct SynthesizerConnections {
    OSType                      clientID;
    OSType                      inputPortID;
    OSType                      outputPortID;
    long                        midiChannel;
    long                        flags;
    long                        unique;
    long                        reserved1;
    long                        reserved2;
};
typedef struct SynthesizerConnections SynthesizerConnections;
clientID
The client ID provided by the MIDI Manager or `OMS ` for an OMS port.
inputPortID
The ID provided by the MIDI Manager or OMS for the port used to send to the MIDI synthesizer.
outputPortID
The ID provided by the MIDI Manager or OMS for the port that receives from a keyboard or other control device.
midiChannel
The system MIDI channel or, for a hardware device, the slot number.
flags
Information about the type of connection. Synthesizer Connection Type Flags
unique
A unique ID you can use instead of an index to identify the synthesizer to the note allocator.
reserved1
Reserved. Set to 0.
reserved2
Reserved. Set to 0.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next